package com.second.app.designpattern.rule.impl.lishitihuan.bad;

/**
 * @Author GYZ
 * @Date 2023/7/27
 * <pre>
 *
 * </pre>
 */
public class ClassB extends ClassA {

    @Override
    public int func1(int num1, int num2) {
        return num1 + num2;
    }

    public int func2(int num1, int num2) {
        return func1(num1, num2) + 9;
    }
}
